<!-- rebut.informe.bodyInformePeriode -->
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
<head>
	<style type="text/css">@import url(css/estils.css);</style>
	<title>ComptaXM </title>
	
</head> 
<body>
		
	<div id="carta1">
			<s:url id="url1" action="CrearInformePeriode">																										
			</s:url>			
		<s:a href="%{url1}"><s:property value="%{getText('informe.periode.tracert')}"/></s:a> >		
	</div>	
	<s:if test="errorsComptaXM.size()>0">
			<div id="missatge_error">							
				<s:iterator value="errorsComptaXM">
					<ul><s:property /></ul>				
				</s:iterator>				
			</div>	
	</s:if>
	
	<div id="carta">					
			<h3><s:property value="%{getText('informe.periode.etiqueta')}" />:&nbsp; 
				<s:property value="%{filtreMes}"/>/<s:property value="%{filtreAny}"/>.&nbsp;  
			</h3>
			<font italic="true" size="1" ><s:property value="%{getText('informe.periode.informacio.etiqueta')}"/></font>					
		</div>
		
		<table id="taula_informe" >
		
		<s:if test="periodesPerComptes.size()>0" >	
			<s:set name="fila">0</s:set>
			<s:iterator value="dadesInforme" status="linia">
				<s:if test="#fila==1"><tr class="linea3"></s:if>
				<s:if test="#fila==2"><tr class="linea4"></s:if>
				<s:if test="#linia.last"><tr class="linea5" ></s:if>
					<s:iterator value="top" status="topLinia">						
							<s:if test="#linia.first"> <s:if test="#topLinia.first"> <th width="80px"></s:if><s:else><th></s:else>&nbsp;<s:property/>&nbsp; </th></s:if>
							<s:else>  <td> <s:if test="#topLinia.first"><strong>&nbsp;<s:property/>&nbsp;</strong> </s:if><s:else>&nbsp;<s:property/>&nbsp;</s:else> </td></s:else>
					</s:iterator>		
				</tr>
				<s:if test="#fila==2">    <s:set name="fila" >1</s:set></s:if>
				<s:else><s:set name="fila" >2</s:set></s:else>
				
			</s:iterator>
		
		</s:if>	
		
		</table>
		
</body>
</html>